From 83fc0941dfb6b478ddb84b7bd570cc9676b43a71 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Mon, 18 Jun 2007 19:59:56 +0000 Subject: [PATCH] garmin_fs: Use macros for "flagged" waypoint fields. --- garmin_fs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/garmin_fs.c b/garmin_fs.c index 2a584b9d7..f20e0e9f4 100644 --- a/garmin_fs.c +++ b/garmin_fs.c @@ -102,9 +102,9 @@ garmin_fs_xml_fprint(gbfile *ofd, const waypoint *waypt) if (gmsd == NULL) return; if ((gmsd->flags.category && gmsd->category) || - waypt->wpt_flags.depth || - waypt->wpt_flags.proximity || - waypt->wpt_flags.temperature || + WAYPT_HAS(waypt, depth) || + WAYPT_HAS(waypt, proximity) || + WAYPT_HAS(waypt, temperature) || gmsd->flags.display) { int space = 1; -- 2.30.2